package com.example.member.service.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 用户来访记录表
 * </p>
 *
 * @author root
 * @since 2025-03-16
 */
@Getter
@Setter
@TableName("member_visit")
public class MemberVisit implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 来访记录ID
     */
    @TableId(value = "visit_id", type = IdType.AUTO)
    private Integer visitId;

    /**
     * 被访问的会员ID
     */
    private String visitedMemberId;

    /**
     * 来访者的会员ID
     */
    private String visitorMemberId;

    /**
     * 来访时间
     */
    private Date visitTime;
}
